package com.rj.core.check;

import lombok.Data;

/**
 * @author Administrator
 */
@Data
public class DictList<T> {
    /**
     * 被选择的项
     */
    private Dict<T> choice;
    /**
     * 可选选项
     */
    private Dict<T>[] dicts;

    public DictList(Dict<T>... dicts) {
        this.dicts = dicts;
    }

  public  static <T> DictList<T> of(Dict<T>...dicts){
        return new DictList<>(dicts);
  }

}
